package com.example.test.pojo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author ymgu
 * @version V1.0
 * @Package com.example.test.pojo
 * @date 2022/6/14 17:36
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Table(name = "holiday")
public class Holiday {
    @Column(name = "HOLIDAY_DATE")
    private String holidayDate;
    @Column(name = "IS_HOLIDAY")
    private boolean isHoliday;
    @Column(name = "HOLIDAY_NAME")
    private String holidayName;
    @Column(name = "HOLIDAY_WAGE")
    private Integer holidayWage;
    @Column(name = "HOLIDAY_REST")
    private Integer holidayRest;

}
